package com.bool.example.modules.news.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
* <p>
* 新闻信息请求类
* </p>
*
* @author 聪明笨狗
* @since 2020-06-11 16:35
*/
@Data
@ApiModel(value="新闻信息", description="新闻信息")
public class NewsDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    
    
    @ApiModelProperty(value = "主键ID", required=true)
    private String id;
    
    @ApiModelProperty(value = "名称", required=true)
    private String title;
    
    @ApiModelProperty(value = "作者", required=true)
    private String author;
    
    @ApiModelProperty(value = "内容", required=true)
    private String content;
    
    @ApiModelProperty(value = "0正常,1下架", required=true)
    private Integer state;
    
    @ApiModelProperty(value = "创建时间", required=true)
    private Long createTime;
    
    @ApiModelProperty(value = "修改时间", required=true)
    private Long updateTime;
    
}
